<!DOCTYPE html>
<html lang="en"  xmlns:th="http://www.thymeleaf.org">
<!-- 登录注册模板 -->
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>登录注册</title>
  <link rel="stylesheet" href="/css/style.css">
</head>
<body>
  <div class="container">
    <div class="form-warp">
      <form class="sign-in-form " action="/test/login">
        <h2 class="form-title">登录</h2>
        <input placeholder="用户名" name="username"/>
        <input type="password" placeholder="密码"  name="password"/>
        <button class="submit-btn" th:type="submit">立即登录</button>
      </form>
      <form class="sign-up-form">
        <h2 class="form-title">注册</h2>
        <input placeholder="用户名" />
        <input type="password" placeholder="密码" />
        <div class="submit-btn">立即注册</div>
      </form>
    </div>
    <div class="desc-warp">
      <div class="desc-warp-item sign-up-desc">
        <div class="content">
          <button id="sign-up-btn">注册</button>
        </div>
        <img src="/img/log.svg" alt="">
      </div>
      <div class="desc-warp-item sign-in-desc">
        <div class="content">
          <button id="sign-in-btn">登录</button>
        </div>
        <img src="/img/register.svg" alt="">
      </div>
    </div>
  </div>
  <script src="/js/main.js"></script>
  <script src="/js/login.js"></script>
</body>
</html>